addStudent() fixed

I somehow didn't sync the functional addStudent() method until now.