Popular algorithms written in Python