Adding is_prime library and tests