fixed problem with parsing empty production rule bodies, also temporarily made terminals precede by (t) and variables by (v) (for debugging reasons)