Binary search and Bubble sort explanations