Update anagrams.hpp