Added `validate_interval_syntax`, a way to give more detailed feedback for students who are new to real intervals and try to input `[]` or `()`.