added function to split data into training|heldout|test