Adapted the sequencess alignment to count the gaps as -1 and spaces as -5.