Added program to demonstrate the use of the inject iterator method