Added is_prime and change_to_different_base