Implemented simple keyboard controls