Add "int" function for easily converting String to int
add example program