Gravity is so strong that space is bent round onto itself, making it rather like the surface of the earth. If one keeps traveling in a certain direction on the surface of the earth, one never comes up against an impassable barrier or falls over the edge, but eventually comes back to where one started.
A Brief History of Time: From the Big Bang to Black Holes (ed. Bantam, 1990) - ISBN: 9780553346145