A plagiarism detection procedure in three steps: selection, matches and ”squares”