Added node, graph and priority queue classes