Add algorithms we might need in python