Sample Alignment & Better Merge

* Added: new Sample Alignment and merge algorithm
* Code cleaning, PEP8, etc.