bubble_sort in scala

Bubble Sort implementation in Scala (inplace and functional without side effects.)