Man&amp;#39;s best friend competes in agility championship