Implements consistent hashing that can be used when the number of server nodes can increase or decrease