adding the strategy_pattern example