-changes in class Tracenode

change setcontributesto to setcontributestonew
change setvisitedfalse