Solution for part1 of Arrays