Added Primes class and condensed problems 3 and 10