code clean up

cleaned digger.h and hasher.h