Algorithms written in C Language