Added command-line interface for task generation and checking