Program to interact with joystick.
Added some comments.