Tree,Linked list,Array second program