Update utils.go

expose GetHammingDistance