Breaking a string of numbers and storing in a list