Started working on structured taxonomy representation; added fn to compute leaves of tree