Collection of useful C/C++ algorithms