A* demo by cocos2d-x3.2