Algorithm of Thoughts: Enhancing Exploration of Ideas in Large Language Models