created constructor in student header file