refactored the node class for this chapter
	modified:   node.hpp