Some practical c algorithms.