changed the parameter from an arraylist of elements to a program for the
to Text method in the language class, and commented out the previous
method in Program and SubProgram that would pass the array list forward