Add some initial code for calculate_percentages.