variety of algorithms implemented in C++