Create a class in Python containing an add_student() method.
class StudentList:
    def __init__(self):
        self.students = []

    def add_student(self, student):
        self.students.append(student)