started implementation of hash function from bro. It crashes early still and can loop forever. This commit is only to save work so far.