#ifndef NODE_H
#define NODE_H

#include "prog1.h"
#include <vector>
class Tree;

class Bnode
{
   friend class Tree;
 public:
   Bnode();
   Bnode(string node_data);
   Bnode(string one, string two);
   Bnode* get_left(){return left;}
   Bnode* get_right(){return right;}
   string get_data(){return data;}
 private: 
   Bnode * left;  //pointer to left node
   Bnode * right;  //pointer to right node
   string data;  //data in node
};

#endif  //NODE_H