Classic algorithms implemenations in C++.