Added bubble sort and recursive sum