Changed the prime? method to use one recursive method instead of several non recursive.