homework 6.  Building a concordance.

test_concordance.py is the edited code.
At the moment words with multiple iterations per line cause the
corresponding line number to be printed more than once.  I'd like the
line number to be printed only once, but am limited by what I can edit
in the program...