added BigInt class for long arithmetics