moved student info printing/changing into functions