sequence generator for naive-needleman-wunsch.