 The entire film is mostly improvised, though around the script.  After rehearsing the script for weeks with his cast,  Sidney Lumet (qv) took the improvisations that were made while  rehearsing and made that the official screenplay.