#ifndef NODE_H
#define NODE_H

#include <string>
#include <iostream>

using namespace std;

class Node {
  private:
	string name;
	int aNum;
  public:
	Node();
	Node(string st, int n);
	int getNum();
	string getName();	
	
	bool operator< (const Node & rhs) const;
	
	friend ostream& operator<< (ostream &out, Node &nd);
};

#endif
