Takes an integer and prints the integers from 0 to that integer in a spiral format.