finished the context free code and picture