Moved Tree and Root creation to single function
Renamed functions for clarity
Fixed minor bugs with sevCount() return values