Mean median mode dev

Solution for mean, median and mode
Probably cleaner to call all of the functions in the same place rather than calling immediately after definition.