A Monte Carlo software for the 1-dimensional simulation of IBIC experiments