Implement CLRS algorithms in C/C++