changed the addImage() method; now it accept an array of images, the shuffle boolean and the goto boolean to jump to the added images.