Added method to calculate hamming distance
Fixed wrong progress on multiple runs
Added simple sorting by exact hash matches