Bubble sort demonstration for Python