Added chaining example in python by returning self