Removed unneeded explicit return in is_prime? method