calculating mean median and mode based on submitted number list