Added #2 function mean()