Changed terminals/nonterminals to char *

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>