Java Anagram Game Sample