Grading Script using Shell scripting