Modified coordinate system to start at the bottom left with a
non-inverted y-axis.
Changing the starting coordinate from (0,0) to (1,1) has broken many
things.
This required modifying isOnGrid() which may have broken some
functionality.
This also broke many array indices. I fixed the obvious
"getState()[x][y]" errors that popped up, but "handleRemoteAccess" also
needs to be fixed.