Linear Sorting Algorithms In Python