Updated Looping over arrays exercise