added a balanceLabels function in cross_validation module that splits a
data set such that the number of samples for each class is the same
(balanced).