ASSIGNMENT 2: Multi-Dimensional Arrays and I/O Solution