Little Java game (For university)