Sub-classes for dichotomous and polytomous

Created the sub-classes for different type of questions (dicho vs.
poly) and changed the main class file accordingly.