Source: http://maths-au-quotidien.fr/college/docs/labyrinthe.pdf