Examples of Strategy Pattern.