Add a simple example show that object oriented style (open datatypes) is simple