Simple Python implementations of popular algorithms.