Update Tree.java

implementation de put