Update main.cpp

Changing map storage from cell numbers to cardinals.