Ex 2: Loops contd.
Ex 2: Looping an array of objects