added guard, n<2 means n is not prime, to p07.py