Direct Monte Carlo simulation of the sympathetic cooling of trapped molecules by ultracold argon atoms