Revise factorizing implementation and test cases to cover multiple overlapping add/remove diff array index adjustments
Merge pull request #2 from rwatler/master

Revised factorizing implementation and test case data