Patch Set 2: No score

This patchset doesn't change two much compared to the patchset 1 (info for those who reviewd patchset 1 already). The things changed in this patchset are:
- added a missing modification to class Edit
- added copyright boilerplate
- added more tests for the algorithm
- fixed algorithm: he always forgot the last common part