A simple Pac-Man implementation