Added code for lecture on creational patterns