Demonstrates the use of duplicate items. Reads a text file from
stdin and creates a Database entry for every word, even if the
word is a duplicate. Then prints all words in alphabetical
order and prints the line number of each occurrence.