print matrix in spiral form