Simple Game written in Java