Removed duplicate if statement in prime.py