PION-I. A Monte Carlo computer program for calculations with negative pion beams.