Simple guess game on Java in console window