-//check out the pathfinding.cpp code in the repo for all comments and explanation. Im too lazy to transfer it over.
-
 #include <StandardCplusplus.h>
 #include <system_configuration.h>
 #include <unwind-cxx.h>

//  FindPath(0,0,10,10);
 // cout << "[""]" << "\n";

}




}

void show_Grid(){
  for(int i = 0; i <20; i++){
    for(int j = 0; j <20; j++){  
      if(grid[j][i].walkable && !grid[j][i].in_path){
        Serial.print("0 ");  
      }
      else if (grid[j][i].in_path)
        Serial.print("X ");
      else
        Serial.print("1 ");
      
    }
     Serial.println();
  }

}

//using structures to represent nodes for openList and closed lists
vector<struct node *> open; // nodes that need to be evaluated
vector<struct node *> closed; //already been evaluated

