add string_to_int
Merge pull request #165 from femoraes/master

add string_to_int