submitted squares solution
fetched new ruby problem