Partitioning into sets for cross fold validation ready to write decision tree