made the code compile and pacman move randomly