Update 1-6-RotateMatrix with less space complexity