[go] refactoring bubleSort
[go] base func for tests
[go] add quicksort