Comment similar to above. Can you replace this one loop and if-else blocks with two loops to create indices for the north/south walls and then the east/west walls?