added warnings for misplaced \exercise and \subexercise's