changes made to parser.mly based on MicroC example

GraphQuil specific changes still have to be made. Currently ocamlyacc
gives 4 rules never reduced error.