Write almost all the rest of bignum.c (Miller-Rabin still missing). Now builds.