fixed is_prime, added solutions for 7, 10, 37