primes: assignment 1, part 2