Program to find the location of a particular integer in a sorted array (MIT Hacking a Google Interview, Handout #1)