Finished solution in python.  Gave up on writing a BigNum class
in c++