finished pokedex code