Create is_prime

checks if a number is prime or not. 
Note: i think  it fails for the number 49 for some reason.