Java version of the old pacman game.