write bubble sort algorithm with various computer languages