Well-known algorithms and data structures in C++