created Word class with value, line, index. converted list of words from file into list of Word objects, updated output to include word.value, word.line, word.index