Solution of Create slideshow exercise