Implement bubbleSort with simple test

Add swap function to help