Richard the lhasa apso learned his first ever trick