Write a recursive program to generate random sentences from a given BNF grammar. A BNF grammar is a recursively defined file that defines rules for creating sentences from tokens of text. Rules can be recursively self-similar. The following grammar can generate sentences such as "Fred honored the green wonderful child":
![462_504f520d-50f0-4c23-bff7-1f9c080338f4.png](https://secure.tutorsglobe.com/CMSImages/462_504f520d-50f0-4c23-bff7-1f9c080338f4.png)