Rotate a Matrix by 90 degree.

Algorithm :
1.First take a transpose of the matrix.
2.Now reverse the individual rows of the transposed Matrix.