Prints numbers from 0 to given num in spiral format in clockwise direction