simple locality sensitive hashing