When you think of solving the stray animal problem in a big city, your first thought probably isn't a classroom lesson.