Too slow for now
Once the files are cached this is faster
Added distance calculations (bad algorithm, O(n^2))
A faster algorithm for generating the hashes, but the comparison is still O(n^2)
Using a much faster algorithm