Some spiral implementation with recursion