Update list.h

working intersect