update list.h

everything works with lab3nomergenointersect