solved turbosort in python