rotate_matrix_clockwise(matrix) that returns a new matrix representing matrix rotated 90 degrees clockwise. Assume matrix is square (n x n).matrix = [[1, 2], [3, 4]]
[[3, 1], [4, 2]]
Transposing then reversing each row (or reversing rows then transposing) rotates clockwise.
Rotating 90 clockwise = transpose the matrix, then reverse each row.
Alternatively: take columns from bottom to top as new rows.