pacman now cannot exit the map as there are wall objects surrounding him