Write The Algorithm For Insertion Sort In Python Using Global Variables