Pairwise sequence alignment in Python. Still need to change the coding style. It's redundant.