Added implementation of bubble sort