Question 2: An image solution
$ vi 02-square-bits