ant and lion simulation C++