adding light tree making code
updating LightTree parts of code