Naive recursive way for finding out if n is prime