added enter grade and conversion of grade to int if it is in string