did people used to live in pyramids