Implemented student average grade calculation and print formatting