Modular methods applied to Diophantine equations