Rotate a Matrix In Place | Apple Coding Question