Professor sparks debate after posting student’s ‘grammatically incorrect’ assignment online; but there’s a twist