changed the way pacmans direction vector is set. The world now contains a list of currently pressed keys. movePacman decides how to move pacman depending on them. Also added a default behaviour for ghosts, to try to go into the same direction as pacman