Teaching Dogs to Perfectly Guard Objects and People