Adding binary search template.py