Adds maxArrayLength function, updates guest list print function