adding the logic for Heuristic and returning best move...