Create test_prime.m

Test an input number n is a prime number or not.