created common.py with isPrime(n)