Factory Pattern From Design Pattern Book.

Factory Pattern example from Design Pattern Book. Pizza Factory.