Implemented getQuestions script
Forgot to declare json array.