Update CYKNodeList.java

modified returnDerivatives.add(new Derivative(term)); used to reference terminal now it references the parameter passed into the method.