Version 11/21/14

Updated some functions that requires coordinates x and y to put in as a
single input.
IMPORTANT: do not input as 0404. The 0 in the front will mess up the
modulo(%) calculation.
Originally: function(int x, int y)
Modified: function(int xy)