[LeetCode 566] Reshape the Matrix [Java] [Runtime : 7MS]