Print matrix in spiral order