support string, vector<string>, vector<vector<string> >, and vector<vector<bool> >
use python-style for loop
Merge pull request #156 from ndawe/master

string, vector<string>, vector<vector<string> >, vector<vector<bool> >