Java implementation of the game Stupid