Algorithmic decision making and the cost of fairness