Now function prime? passes all the tests.