A more general method with optional behaviors

This version of the closeOrderDrill method:

Its specific behavior is determined by parameter values.

The parameter values are supplied by the method that calls this method, (which in this case is the main method).