Commit 12

Sorted the player movement into a function.
The new movement function supports party mode(sort of).