space map now prints correctly, fixed adjacent squares