Update 

Final submission:
rearranged bsearch parameters, removed "found" variable, and commented my code