Problem 3 started.
working on problem 3 still
Problem 3's isprime method triggers a stack overflow, but right before
that the correct answer is outputted.