Fixed bug in AIG and AAG parser to avoid null pointer exception on aiger
files with 0 and gates