Initial commit with binary search implemented