Text this: Foundations of algorithms