Question Selection from a Hierarchical Repository in a Computer Aided Assessment Tool