Added arrays for matches and misses (to complement Dawn's previous code) and for loops to iterate both collections.