Binary search: search insert position — Python practice — Live Code Tutor