Python implementations of various sorting algorithms on lists