Algorithms, when you get down to it, are simple in concept. In practice, they can be really useful. Or, in Facebook's case, they can lead to a lot of problems.