test of various sorting algorithms in python