test task with global alignment, unchanged
added semiglobal alignment implementation based on global alignment implementation, doesn't work correctly now