Added code to display course weights.