write Core.h(class for grade computation), Core.cpp, median.h(function for median computation), median.cpp