Smith Waterman Implementation in Python