Update Tree.java

Prints out the final stack.

I found that printing out the last element of the stack was giving a goodness value of 0 if the last person/room assignment had a value of zero.

So I print out the stack's second last element's goodness value and do a comparison with the stack's second last element.

Also I'm testing on the input of all the people up to and including Thomas