Problem 8. String to integer.