Implementations of various algorithms for practice, understanding and reference.