Added factor, is_prime, macros, primeMillerRabin

factor.py gives the prime factorization of a number.
is_prime.py checks if the number is prime or not (naive method).
macros.py contains frequently used functions.
primeMillerRabin.py checks if the number is prime or not (with a
probability depending on number of iterations).