Python Read Large Binary Search Algorithm Example