There are many reasons for conflicts between nations (competition for resources and territory, differences in ideology, religion/ethinicity). How can diplomacy be used to resolve a conflict?