Updated exercise 19. Can now generate list of all possible strings and convert them to Ints for sorting, now need to work out converting back to strings.