DiPT: Enhancing LLM reasoning through diversified perspective-taking