Recursive image search

- can get any number of images by changing the number in the function
- no repeated code