reworking player movement (xcode)