Cleaned up createATree() and made new JUnit Tests.
Merge remote-tracking branch 'origin/master'