Java implementation of the game Jewels