readme.rst: Added flattenTree()