Create structure chart of functions