Added several algorithms.