add a method for finding the three smallest primes