remove and add node function updated & proper printing set & Valgrind ON