The quick sort implemented in the folder Scala-Way is using a mutable array. Can/Should this be done in an immutable way?