adding prime numbers exercise