Added dynamic inheritance example.
Fixed typo.
Commented functions, added images.