Separate dataset into training part & testing part.