The design and construction of a torsion impact machine