working on greedy-best-first-search