Print a matrix clock wise, given a integer shows the dimension of matrix.