This is a commit that I hope works and is the code for the word search.