Pacman in SDL2/C++