slove problem 4.
added function is_prime2 that check prime number soley
create & slove problem 7