scourge: a whip used to inflict punishment (often used for pedantic humor)
device: an instrumentality invented for a particular purpose
permutation: the act of changing the arrangement of a given number of elements