Fixed an error in the findSuccessor function. New nodes can now join the ring without errors.