Solution for Global Alignment with Scoring Matrix (glob)