GREEN - Implemented printTree.
Merge remote-tracking branch 'origin/master'
REFACTOR - Changed to mocking in the test method instead. Removed some redundant code.