Final commit on challenge - added code to assure that the same image will not be shown more than once in a row