Added illustration for factory pattern.
Added example source for actory pattern.