An only one level game of PacMan in Java