A simple pacman game in C++