Added implementation of modified Smith-Waterman Algorithm

Since you've written that ArrayCoord class, wouldn't it be better to use that here?