Constructed Node class
Nodes are initialized into a matrix and the node then calculates its heuristic to the target node