Learning how to use YAML to read and write an array to a file.