basics for feature hashing