FIXED: bubble algo (test is green)