Modified Parser to check if productions not yet empty
Merge remote-tracking branch 'origin/master'