Implemented various heuristics for choosing a variable elimination sequence in JTree