solution to Word Search