Update zimcheck.cpp

Implemented argument parsing using getopt instead of arg.h