Extend is_terminal to productions
Update .gitignore
Add grammar class