Building an Intelligent Behavior Avatar in the Virtual World