added support for DIFFICULTY parameter in getQuestions