Examples in Algorithms C implementation