Update Aho-Corasick.h

changing CreateTrie function from void to int to provide error check.