Create Tree

implemented a method to create a tree from singleton trees. Also added
in comments for my code