added 3 additional versions of bubble sort, v3 has a problem
modified the test function