Maybe your teacher needed an example for an brown townogy, and you just happened to spark an opportunity.
But that's besides the point.
The thing is, you're making a big fuss over a comment the teacher made. It not like they swore or made a tribal comment. Man up and get over it.