cocos2d-iphone simple function to get distance between 2 points