Python code for generate phylogeny of Pokemons