Various pieces of code (mostly R) developed for teaching purposes