Added example of Factory Method Pattern