split data to train set and testing set