Adds function to write out an integer longhand.