Update trieGraph.cpp