Messing around with implementations of some algorithms.