Practicing my algorithms chops by implementing the STL algorithms library in C.