this traverse prints all records

traverse(&l);