Algorithms Implemented in C