Avoiding and Rectifying Plagiarism in Essays