Implements player movement with arrow keys