Implementations of basic algorithms in C++.