Small little java program to simulate a certain puzzle game