Create c_rehash.py

the re-imagined c_rehash file