A basic example of threading in Objective-C