AI math tutor for personalised practice, answer checking, and clear explanations