finalized insertion sort in python, moving on to peak algorithms in mit