Tekstiviesti: Monte Carlo concepts, algorithms, and applications