centering pacman and ghosts in square