Fixed the bug where ghosts sometimes get stuck, Pacman should work now as well

fixed some bugs with ghosts and pacman getting stuck