added calculation file for mean, median, & mode

Check out the splice method to get this down to one line: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/splice