Adding a method that finds the changes for anagram and java docs