Local-Global Principles For Diophantine Equations