Simple code showing how to implement the decorator design pattern in python