chapter 10 ex11

string to integer