Create reverse_nodes_in_k_group.py