init_flag working properly

Fixed external boundary problem and verified correct reading and
initialization of flag field