Update reverse_nodes_in_K-group.cpp