Computer programs are designed using mathematical/logical constructs called algorithms. This fascinating TED talk by Kevin Slavin shows and tells how algorithms are finding their way into all kinds of unexpected places in our world, for better or for worse.
ted.com/talks/kevin_slavin_how_algorithms_shape_our_world.html