Moving x, y, lastX, lastY, direction and methods to super class
Using TILE_SIZE instead of gridSize and extracting max and increment to constants