C++ assignment project: termite simulation