Jewels

The object of this game is to rotate the jewels until four jewels of the same kind form the four corners of a square. The square can be of any size and orientation.