Modified split_seqid function to work with Exercise