Added C++ version.
Go version of grid walk.