The basic code structure for modeling a ringworld