ArrayPlot[ Table[NeedlemanWunschSimilarity[StringTake[#[[1]], i], StringTake[#[[2]], j]], {i, 1, StringLength[#[[1]]], 1}, {j, 1, StringLength[#[[2]]], 1}], ColorFunction -> "Rainbow"] &@ Table[StringJoin[RandomChoice[{"A", "C", "T", "G"}, 80]], {2}]