Problem 9

Converts string to number