Quick Insertion Sort Code In Python For Snake