BoggleUtil implementation