solved Word Search problem