Python implementations of some common algorithms for study