Updated pie chart logic; added sorting for courses by status, loading courses into pie chart.
Merge remote-tracking branch 'origin/master'