Create Resistor.cpp