Adding a couple of algorithms.