Added global variable for X coord tracking.

Testing use of the extern keyword for using global variables across
multiple files.
Merge pull request #2 from powkhenai/Jake

Added global variable for X coord tracking.