The Role of Algorithms in the Crisis of Democracy