refactor code -> bignum.c/h