Update SearchTree.java

Added heuristic one for the greedy search