Fixed operator overload of > and < for Node comparison and added new characters S for start point and G for end point in the algorithm