A collection of algorithms for my own and others' reference.