Python library of algorithms