completed arrays & loops exercises