Plan of Thoughts: Heuristic-Guided Problem Solving with Large Language Models