adds project euler 3
adds generate_primes method