Added bubble sort implementation