added Resitor pointer sucessfully to class. Sort and prints fine. Need to fix output write in order to load.