Fixed typo
Changed map rendering code

Now it renders map by simply decreasing map array rank down to 1 and
converting every cell to ASCII char code.
Wrote simple tests for map code