Context-free grammar and tree structures added.