Added mergesort in Scala.