the deer had loped lazily away from theo , and slipped between a goat whose sharpened horns stretched straight out in front of him like javelins , and a snake , which had eight sets of legs , making the serpent the height of a dog .