adding the first version of the tutorial from cocos2d