Update: Updated interface TreeWriter to include new "writeFromRoot" that
encapsulates the tree traversal to be written. Included concrete
implementation in QuestionNodeTreeWriter and testing cases for the
method in QuestionNodeTreeWriterTest