Added median and mode algorithms.