Update S4.rmd

introduced initializer
introduced generator
removed deprecated representation() and prototype()
R markdown for example code
copyleft to hadley