Algorithm Library in C