My attempt at a non-mutable quick sort implementation in Scala.