Simulation of ant colony behavior in C++