Finish hash implementation (I think)