LeetCode Solution, Easy, 1260. Shift 2D Grid