What does مَا do in this lesson?

Negating Past-Tense Sentences with مَا