Design patterns sample using a simple calculator example.