Diophantine problems using the modular approach