Update zimcheck.cpp

Speed up for internal URL check, implemented binary search for internal URL check.