code: public static void main(String[] args) {
      if (args.length != 2) {
        System.exit(-1);
      }
      String mem = args[0];
      String sector = args[1];
      try {
        getNumSector(mem, sector);
      } catch (Exception e) {
        throw new RuntimeException(e);
      }
    }
docs: The main class to invoke the getNumSector.
  
  @param args the arguments parsed by commandline