Made grader executable.
Added more checks.