added hashCode method to GroundedAction.