The system now yields better results.

EPC now stores binary representation of hashes.
Implemented hamming distance on Erlang binary types.
Database queries use hamming distance to sort results.