Implemented student average calculation.

Each student type now calculates its average based on the percentages
given in the project detail.