Update listTemplate.h

Updated prototype operator=