Hackerrank problem - The grading students...