Added templates to List342.cpp