Debugged question generator; answer checker still buggy