Revert "Added joystick program from sesssion on 8-6-2014."

This reverts commit 013b1146af7ce3b2013b9db2ab878889a3e79857.
Revert "Revert "Added joystick program from sesssion on 8-6-2014.""

This reverts commit 04316747fdeddfffc3bd5aa15fde34566fa01b8a.
Optimized "if" function

If the joystickVal is 10, then when you subtract 10 from it you get
zero, so therefore it is simpler just to return 0 if the absolute value
of joystickVal is not only less than, but also equal to 10.
Merge pull request #3 from nataliastepanova/master

Optimized "if" function