making exercise 3 use a list of strings to avoid confusing '09' with '9'