Comparison of the Needleman-Wunsch algorithm and the Smith Waterman for aligning pairs of protein sequences