updated to check for number of questions given'
added functionality to get number cor,incor