Created a function to retrieve the pokémon images