Reads a string from input.txt and counts vowels, consonants, etc.