Started the player class.

Done some basic stuff to set up the main file, and the player class.
Temporarily using a red ball as the player image.
Minor error fixes.

Fixed some minor errors. Also added the simpleLibrary file - contains
convenience functions and methods. Also did a minor change to allow
Linux compatibility.
Fixed input, and made movement less 'elastic'

Fixed input problems with it thinking that one long press of a key is
multiple presses. Made movement of the player more responsive and less
'elastic'