add bubble sort and its test cases