Lab1: added binary search to occurence file too