My C++ implementations of different common algorithms