Implementation of Various sorting algorithms in python