Generating a tree from the full name. All tests pass, yay.