Initial commit of digits.js and tests.