Created method that generates a list of pie_charts