Added sample code for "Object literal" and three variations of the "Module pattern".