chapter 9: group Student_info related functions as member functions