Binary search implemented. WARNING: Searching not yet debugged.