finish built-in bisect module demo