Question 2: An image solution
$ vi 02-square-bits
P1 21 21 11111110001010111111110000010000010100000110111010...
$ file 02-square-bits 02-square-bits: Netpbm PBM image text, size = 21 x 21, $
$ eog 02-square-bits
$ vi 02-square-bits
P1 21 21 11111110001010111111110000010000010100000110111010...
$ file 02-square-bits 02-square-bits: Netpbm PBM image text, size = 21 x 21, $
$ eog 02-square-bits