Update ring_node_isolation.c

impl get_isolated_nodes()