deleted unused lines in squares solution