added class Node that afford the queue to have on the top always the node with the lowest cost