Just a method to print matrix in spiral form