Implementing Human+AI Collaboration Using Finite Object State Machine