Binary Sort Algorithm Python Example Code