Humour Theory and Conversational Agents: An Application in the Development of Computer-based Agents