initial version of 4 squares - no recursion yet