Created Tree and Node class