added new concept SequenceAlignmentCost and argument checking