My edits to the C++ version of Grobots