Initial commit of rehash; some bug fixes / feature additions left to do in hashmatch.py
Added rehash. hashmatch.py now in working condition.