Tree list tree solution