Console word search game written in Java