Go implementation of the drunken walk algorithm