algorithms and ideas from plagiarism using java.