Amanda - added collection manipulation example code; added input and output for example2

...d output for example2