added Intention equality to bdi agent