Implemented bidirectional slicing of DNA sequences