Added some example code using keyboard.
Added sprite struct to test code.