Update prefix_tree.cpp