Added treeify method.
Begin with tsp dp funciton to check all children. Also, some fixes in graph costs.
Added base case part. Now to fix some bugs.