Wrote first draft of hashRF version.  Has bugs