Get hashing working

Also ran `go fmt`