add mindmap and test codes