adding updated class files for productions and production rules. Generator class includes code for running from command line and algorithm for generating random sequence