Added homework answer logic for student.