Source: http://www.maths-pour-tous.org/cours-mej/2014/rapports/labyrinthe/rapport-groupe-labyrinthe.pdf