my Java implementation of the Pacman game