parser correctly parses input file with gates