Completed arrays

@Darktonian

Array exercise completed. Also played with the loops alternative answer presented by mentor.