Text this: Classic computer science problems in Swift :