espadrine epfl algorithms1.tex