One who wrongfully detains a thing is an implied trustee thereof for the benefit of the owner.
SDCL 55-1-7