Implemented moving on an infinite grid