A simple pacman game written in Java