fix a bug on loss cache in Network.rebuild()
add self._switch_set to Network for fast membership query
update README just for readability