Answer http://stackoverflow.com/questions/20005881/how-to-populate-non-linear-tree