refactored a little player control code.
Added WASD in addition to arrow keys.