BigInteger C++ implementation