Corrected minor typo in text file
Modified 'specs.js' and 'scripts.js' to test and return the written form of a single digit input.