classical artificial intelligence algorithms implemented in C++ (mostly for classes)