hw1, part 2 primes, first version