Factorial in Objective-C