Changed parameters in constructors and methods from NodeType to Node<NodeType>