Implemented more efficient ufds question generator