vector<->list conversion