define tree structure for the chart of accounts with automatic coding based on the structure provided.