Calculate the arithmetic average, the weighted average and the GPA using a simple GTK+ utility