rust pidigit implementation of the shootout using handmade gmp bindings