Solving a word search puzzle in Java | Hacker News Reader