trees implemented, drawing of solution refined

got Tree structure working, as well as recursion through parents to the
root cell to draw the solution