split_dat function

grouping the data frame containing sequences and names and generate fasta file