initial new implementation of pie chart
reimplemented pie chart as well
edited pie example