sucessfully modified Node class to include a pointer to typre Resistor which will store component information.