Simple example of the chain of responsibility pattern