Unman, Wittering and Zigo (1971)
Unman, Wittering and Zigo is a 1971 British thriller film directed by John Mackenzie and starring David Hemmings, Douglas Wilmer and Tony Haygarth. It is adapted by Simon Raven from Giles Cooper's 1950s radio play Unman, Wittering and Zigo. A new teacher arrives at a school to discover his predecessor was murdered by the pupils, and sets out to prevent the same fate awaiting him, eventually discovering the three pupils named in the title were responsible for murdering the original teacher.
More at Wikipedia.