Done it ! Program 22!

Check the debbug. Although I get 3 squares :P