Completed 'Primes' excercise