Solved String to Integer problem