Changes in new versions / Swift 2.0

repeat-while instead of do-while

This example is in the full version, available in the app stores: