@Frank Richards,
That, being what Punkey said and that it's a safety thing for them, when they sleep they curl up, so going around in a circular fashion comforts them and allows them to sleep in the same fashion, curled up. They are tired.
Although my 16 and a quarter pomeranian can't stop walking in a circle until, she falls, asleep which drives me nuts but that's why she's doing it....