corrected the instance variables in the student class. now set to private.