Find a magic element in an sorted array (by using modified binary search)