reformatting code
adding min hash first cut