demos of strategy pattern.