Logic Agent 1: Mark questions [refactoring]