finished displayWords function
word entry and display done