Calculates mean, mean, and mode in the command line.