Creating a TNode data structure to encapsulate the attributes of a timeline node