added the part where you have to print out all of the words