added stream version mergeSort [scala]