Added labeling functionality to the pie chart