<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def generate_hashfunctions(nbr_bits, nbr_slices):
 """Generate a set of hash functions. The core method is a 64-bit murmur3 hash which has a good distribution. Multiple hashes can be generate using the previous hash value as a seed. """

    def _make_hashfuncs(key):
        if isinstance(key, text_type):
            key = key.encode('utf-8')
        else:
            key = str(key)
        rval = []
        current_hash = 0
        for i in range(nbr_slices):
            seed = current_hash
            current_hash = hash64(key, seed)
            rval.append(current_hash % nbr_bits)
        return rval
    return _make_hashfuncs