clear semester record and print function added