Chess library in Objective-C