adding bubble sort methods