converting vector to list; string char* to vector