Configurable grading strategy for problems

Configurable grading strategy for problems