Added incorrect function for checking primes... the solution to problem 3 is still evading me