Agregando repaso semana anterior, codigo de HeadFirstDesignPatterns.