Debugging

Fixed my prime generator that was leading to a memory leak; it added the
primes way more than once.