add the gather stats flag and modified print to eprintf
Merge branch 'master' of https://github.com/kishori82/metapathways2
add the gather stats flag and modified print to eprintf