Context-free Grammar Parser Assignment