`` it was about seven in the morning , and i longed to obtain food and shelter ; at length i perceived a small hut , on a rising ground , which had doubtless been built for the convenience of some shepherd .