WIP adding code for constructing successor list. Also still need to fix updateReplicas logic to use successor list