Use recursion to build up spiral.