Is sentence 'James while John had had had had had had had had had had had a better effect on the teacher' grammatically correct?