Add bubble sort.

Correct some pep8 flaws.