A man is teaching his dog to do tricks.