Binary Sort Algorithm Python Code Writer