Updated addItem method in list.cpp