Implemented rotation through input.

Added rotation to the current code framework that was used for input-dependent movement.