Refactoring code by creating 'add_student' method.