Algorithm Of Thoughts