public static void BreadthFirstSearch(Node Start)
 {
     if (Start.isBarrier() || Start.getGoal())
     {
         MessageBox.Show("Nemoš tako!");
     }
     else
     {
         BFS(Start);
     }
 }
 public static void Azvezda(Node Start)
 {
     if (Start.isBarrier() || Start.getGoal())
     {
         MessageBox.Show("Nemoš tako!");
     }
     else
     {
         Astar(Start);
     }
 }
 public static void DepthFirstSearch(Node Start)
 {
     if (Start.isBarrier() || Start.getGoal())
     {
         MessageBox.Show("Nemoš tako!");
     }
     else
     if (DFS(Start) == 0)
     {
         MessageBox.Show("Ne postoji put :/");
     }
 }