My implementation of algorithms that I met in various places.