MACHINE TO FIND ALL WORDS