Binary Sort Algorithm Python Example