Now it will not crash if you try to move outside the gameboard