Added script to convert leaves of trees to signatures