added layout for hierarchical clustering and tree library with to_json and from_json for persistence
compressed into an example file