Fixing last character problem.\nCreating function to "generate" datasets, split the data into two sets, for training and testing.