3rd master commit

half interval search in Python & Perl