 void setup() {
   // put your setup code here, to run once:
    Serial.begin(57600);
-   gridInit();
-  FindPath(0,0,10,10);
-
+gridInit();
+//FindPath(0,0,18,0);
+
+ //show_Grid();
 }
 
 void loop() {


}

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


    }
    open.erase(open.begin() + index);
    closed.push_back(currentNode);
   // printnode(currentNode);
    if(currentNode == targetNode){
      RetracePath(startNode, targetNode);
      return;
