Chewy interview question

Rotate a 2d matrix in place