added sample grammars to main.cpp