percentages = frequency*100 / sum(frequency);
new_text = string(percentages);
[numentries,temp]=size(frequency);
//percentage_sign = "%", "%", "%", "%", "%", "%"];
for j=1:numentries
   percentage_sign(j) = "%"; 
end
final_text = text + new_text + percentage_sign;
pie(frequency , final_text);
