Prints terminals and non terminals

Need to figure out how to do the productions.