Created Exercise 14.1 script; do the same thing as in text, but return a list.