examples/container_iteration.cf: add useful example

(cherry picked from commit 36729bed1ad3d7c8a6ff6b23a56980a092580923)