Complete parsing of input into a vector<vector<string>>