Fix the creerArbre method