public static void main(String args[]) throws IOException {
        Reader reader = args.length==1 ? new FileReader(args[0]) : new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(reader);
        Probleme probleme = Probleme.charger(br);
        List<astar.Action> plan = astar.AStar.genererPlan(probleme.grille, probleme.etatInitial, probleme.but, probleme.but);
        if(plan==null)
            System.out.println("<Aucune solution>");
        else
            /*for(astar.Action action : plan){
                System.out.println(action + " ");
            }*/
            for(astar.Action action : plan)
                System.out.print(action.toString()+ " ");
        System.out.println();
    }