Simple game to train myself in Java