This is a sample program to illustrate the storage of data about the universe in a multi-dimensional array. The same result is achievable using a database. An orthagonal view for Artifical Intelligence reading what is visible in any direction from any point is achievable by including an additional depth of array for direction of seeing.
The source code is visible here.