Question 3 - completed isPrime function, needs more work