Implement Consistent Hashing