Just a note if x is left and y is up, what are the other two?
X,Y are dimension, x is horizontal, y is vertical.
X-1 means it will go left by 1
X+1 means it will go right by 1
Y-1 means it will go up by 1
Y+1 means it will go down by 1
Simple math =D