Append dollar char to end of file.
Get rid of hash tables.
Map and fold through buckets.
Making buckets by character and s-distance.
Fix bucketing bug.