added example of Strategy pattern