The map[][] is now indexed by x,y coordinates for easier readibility.