I got the function to work so that the string of number is now a list of integers.