Defined each method for the collection classes and an each_tank method in the all_tanks class