Implemented class TextNode.

It probably won't be used in the final application, but it's there as a possibility.