A Monte Carlo approach to study neutron and fragment emission in heavy-ion reactions