There is just one part of the grammar I am having trouble with, it reads:
$$C\to CBA\mid\epsilon$$
After removing the epsilon production, I get:
$$C\to CBA\mid BA\mid CB\mid B$$
I'm confused as to whether this is correct or not. Does the latter grammar have to also include all other possible combinations from $CBA$, such as $CA$ and/or $A$?