educating a young dog by hitting him with a shoe at his head