Splitting the dataset for training and testing
Splitting helps to partition the dataset into training and testing sequences.