Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spiral order.