Algorithms with C