Support for python 3, multithreading, multiprocessing and exception handling. Finally added a goog version ofAKS primality test