Added support for Donut type and updated demo

Added support for Donut as requested in issue #2 .
Also, updated the demo.