Scala program for testing efficiency of various sorting algorithms.