Made SList as a Generic list; Updated Tree to use generaic list of Nodes