Update link_cut_tree.cpp