1.Here all the slide that is held in class called "slides" are sent to variable called slides.
1. A function called "showslides" then goes through all the slides and blanks them all out.
2. The index then points to the first slide and displays it for 5 sec
3. The Function "showslides" is called and it blanks all images out.
4. The index then points to the 2 nd images and displays it for 5 seconds.
5. The function " showslides" is callled and the whole thing repeats itself.