a person can teach a dog to do tricks