Chronus interview question

Rotate matrix 90 degrees inplace