Added Factory Methdod example for PHP design patterns.