The famous ending of “The Graduate,” for example, came about because as it came time to film the scene where Dustin Hoffman and Katharine Ross get on the bus, Mr. Nichols found himself growing unaccountably irritable. “I told Dustin and Katharine, ‘Look, we’ve got traffic blocked for 20 blocks,