Mean median mode dev

Solution for mean, median and mode
Hmm, cleaver way to convert to an integer but you might want to use parseInt() makes it more explicit what you're doing.