Lab 06 problem 2 ::: Array of objects