Fixed bug in add_images. Made iterator versions of list utils