Plagiarism detection software: legal and pedagogical issues