interaction pacman and maze
Refactored pacman movements
Pacman can not go through a wall