A simple Pacman game in Java