Getting Started with doMC and foreach