4 Little Squares solution