Determine the elements in a map project file. Make sure the project file has the normal mapping elements before the process begins.
Create a grid layout so that you can determine how the grid functions.
Create a formatted map from a script. This may take trial and error and make sure the intermediate map project files created are deleted or they could create problems if and overwrite is attempted.
Provide your instructor with the original map showing the grid and the layout of elements and a post-processing map showing how the elements were moved. Provide a script. The formatting of the final map does not have to follow good mapping conventions.