inttostr: add a new function, inttostr, and tests