Added solution for SquareTiles