Added mean calculation program in C++