Added implementation of needleman-wunsch/smith-waterman algorithm