Update SolverTree.java

changes constructor. added TODO method.