Toy biginteger library in C++