Added simple bubblesort for arrays