Update is_prime function
Add Problem 37