Create average calculation.cpp