Bio-Inspired Hashing for Unsupervised Similarity Search