Simhashing, storing and retrieving + small test program