Added Primes problem implementation