exercise 12-14: initialize a Vec from string