Implemented QuickExp and miller rabin prime test.
Miller Rabin is now using Quick exp.