a simple program for Bubblesort