Added method to get items in SList
Added preorder tree traversal