split dataset to training and testing