added in the getProduction method to the Symbol class and implemented it for terminals (returns empty list always for all terminals)