My attempt at a BigInt implementation in JavaScript