Ghosts can now wrap!
added code from pacman.js.
removed