fix compilation bugs
initial drawing of random map