adding test input file
first attempt
gotta watch those overflows when using bounded ints. fixed the upper bound by switching to an arbitrary precision Integer