Some of the popular algorithms implementation in C