An example that uses arrays.