Added function for spiral primes, and a test function