Tents And Trees Solver