Updating inline documentation.
Adding implementation of fermat the fermat primality test.